package com.ruoyi.business.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.ruoyi.common.db.ID;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * 缓存信息
 *
 * @author ruoyi
 */
@Data
@Accessors(chain = true)
public class BizEvent implements ID<Long>
{
    @TableId(value = "id", type = IdType.AUTO)
    private long id;

    private int projectId;

    private int eventId;

    private Date createTime;

    private String openId;

    @Override
    public Long getId() {
        return id;
    }
}
